<?php


namespace FoxLib\Providers;

use Illuminate\Support\ServiceProvider;
use FoxLib\Contexts\LogContext;
use FoxLib\Contexts\ConsumerContext;


class ContextProvider extends ServiceProvider
{
    public function register()
    {
        $this->app->singleton('logContext', function () {
            return new LogContext();
        });

        $this->app->singleton('consumerContext', function () {
            return new ConsumerContext();
        });
    }
}